package com.game.model;

import com.dictionary.DictionaryTabel;

public class Desk {
	private int deskNum;

	private int gameState = DictionaryTabel.Game_Close; // 游戏状态
	private boolean isClosing = false;
	private int gameTime;

	private String gameRecord;
	private int recordRunTime;
	private String closeDeskMessage;

	/** 是否关闭重启该桌子 */
	private boolean isReset = false;

	public boolean isReset() {
		return isReset;
	}

	public void setReset(boolean isReset) {
		this.isReset = isReset;
	}

	public int getGameTime() {
		return gameTime;
	}

	public void setGameTime(int gameTime) {
		this.gameTime = gameTime;
	}

	public void gameTimeJJ() {
		if (this.gameTime <= 0) {
			this.gameTime = 0;
		} else {
			this.gameTime -= 1;
		}
	}

	public String getCloseDeskMessage() {
		return closeDeskMessage;
	}

	public void setCloseDeskMessage(String closeDeskMessage) {
		this.closeDeskMessage = closeDeskMessage;
	}

	public int getDeskNum() {
		return deskNum;
	}

	public void setDeskNum(int deskNum) {
		this.deskNum = deskNum;
	}


	public int getGameState() {
		return gameState;
	}

	public void setGameState(int gameState) {
		this.gameState = gameState;
	}

	public boolean isClosing() {
		return isClosing;
	}

	public void setClosing(boolean isClosing) {
		this.isClosing = isClosing;
	}

	public String getGameRecord() {
		return gameRecord;
	}

	public void setGameRecord(String gameRecord) {
		this.gameRecord = gameRecord;
	}

	public int getRecordRunTime() {
		return recordRunTime;
	}

	public void setRecordRunTime(int recordRunTime) {
		this.recordRunTime = recordRunTime;
	}

}
